/*
 * 太原科技大学。
 * Copyright 2021, YCHS Information&Science Technology Co.,Ltd,
 * All rights reserved.
 */
package com.example.demo.Utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liuchao
 * @version 1.0
 * @date 2024/9/15
 */

@Data
@Component
@ConfigurationProperties(prefix = "alioss")
public class AliyunConfigRead {
    private String accessKeyId;
    private String accessKeySecret;
    //由于阿里的singName必须要中文，但是我读取的配置文件中文是乱码，作者很无奈，如果有大神能够指导就太好了，作者后面直接赋值了
    private String singName;

    private String templateCode;
    private String endpoint;

}
